/**
 * 
 */
package com.eagle.coders.server.db;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.eagle.coders.server.db.annotation.MyBatis;
import com.eagle.coders.server.db.configurator.MyBatisConfigurator;

/**
 * @author Anees
 *
 */
@MyBatis
public class MyBatisDbDaoImpl implements DatabaseDao {
	
	private MyBatisConfigurator configurator;
	
	public MyBatisDbDaoImpl(){
		
		configurator = MyBatisConfigurator.getInstance();
	}


	@Override
	public <T> List<T> findByAllMapper(Class<T> mapperClz) {
		// TODO Auto-generated method stub
		return null;
	}



	@Override
	public <T> T findMapper(Class<T> mapperClz) {
		return  configurator.getMapper(mapperClz);
	}


	@Override
	public <T> List<T> findByConditionForMapper(Class<T> mapperClz,
			Map<String, Object> condition) {
		// TODO Auto-generated method stub
		return null;
	}

}
